<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
    <form th:action="@{/file/upload}" method="post" enctype="multipart/form-data">
        <input type="file" name="file">
        <input type="submit">
    </form>

    <p><a th:href="@{/ex/math}">算数异常</a></p>
    <p><a th:href="@{/ex/over}">其它异常</a></p>
</body>
</html>